package com.glxy.dao;

import com.glxy.pojo.User;

import java.util.ArrayList;

public interface UserDao {


    public User findByCode(String userCode);

    public ArrayList<User> findByName(String userName);

    public ArrayList<User> findAll();

    public boolean insert(User user);

    public Integer update(User user);

    public boolean delete(Long id);
}
